<div data-role="content" data-scroll="y" data-height="80%" >
	<div data-iscroll="scroller">
		<ul data-role="listview" data-inset="true" data-filter="true" data-theme="a">
			<?php $counter=0;?>
			<?php if(isset($rows)) :?>
			
			<?php foreach($rows as $feed): $counter++;?>

			<?php if (!($feed->isconfirmed)):?> <!-- if the hello is confirmed, then it doesn't show -->
		<li data-icon="false" ><a href="<?=site_url('feed_controller/to_apply');?>?helloID=<?=$feed->helloid?>" >
		<!--<?php $name=$this->user_model->ChangeQueryResultToArray($this->db->get_where('user',array('userid' => $feed->userid),1)); ?>
		<?php $area=$this->area_model->ChangeQueryResultToArray($this->db->get_where('area',array('areaid' => $feed->areaid),1)); ?>
		-->
		
		<!--<img src="<?=base_url('themes/resources/girl.jpg');?>" />
		-->
		
		<h3><?=$feed->title;?></h3>
		<p class="ui-li-aside">by <b><?=$feed->fullname;?></b></p>
		<p><b>Place: </b> <?=$feed->place;?>, <?=$feed->areaname;?></p>
		<p><b>Time: </b><i><?=$feed->date." ".$feed->time;?></i></p>
		
		
		<?php endif;?>
		</a>
		</li>

			<?php endforeach;?>
			<?php endif;?>
			<?php if($counter<=5):?>
			<?php for($counter;$counter<=5;$counter++):?>
			<li data-icon="false"><a href="#">
					<h4>
						There is no hello for now
					</h4>
					<p>
						Try see what your friends are doing.
					</p>
					<p>
						
			</a></li>
			<?php endfor;?>
			<?php endif; ?>

		</ul>
	</div>
</div>

